package com.jlkf.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.jlkf.service.AdvertisingManagerService;
/**
 * 广告
 * @author DN
 *
 */
@Controller
@RequestMapping("advertisingManager")
public class AdvertisingManagerController {

	@Autowired
	private AdvertisingManagerService advertisingManagerService;
	
	/**
	 * 广告 启动引导页等
	 * @param type
	 * @return
	 */
	@RequestMapping("getAdvertisingManager")
	private Object getAdvertisingManager(Integer type){
		return advertisingManagerService.getAdvertisingManager(type);
	}
	
	/**
	 * .预约成功 -司机接单时间15S，可后台配置
	 * @return
	 */
	@RequestMapping("singleCountdown")
	 public Object singleCountdown(){
		return advertisingManagerService.singleCountdown();
	   }
}
